9f8b7d5ca71d6c819c0b4b1f3f3a6bc72c7ac4a9,VanillaMagic/src/main/java/seia/vanillamagic/quest/QuestCaptureEntity.java,QuestCaptureEntity,handleRespawn,#World#EntityPlayer#ItemStack#BlockPos#EnumFacing#,178

Before Change


			{
				return;
			}
			entity.readFromNBT(entityTag);
			entity.setLocationAndAngles(respawnPos.getX() + 0.5D, respawnPos.getY() + 0.5d, respawnPos.getZ() + 0.5D, 0, 0);
			world.spawnEntity(entity);
			ItemStack newOffHand = requiredStackOffHand.copy();

After Change


			if(!MinecraftForge.EVENT_BUS.post(new EventCaptureEntity.Respawn(
					world, player, respawnPos, face, entity, type)))
			{
				entity.readFromNBT(entityTag);
				entity.setLocationAndAngles(respawnPos.getX() + 0.5D, respawnPos.getY() + 0.5d, respawnPos.getZ() + 0.5D, 0, 0);
				world.spawnEntity(entity);
				ItemStack newOffHand = requiredStackOffHand.copy();